#!/bin/bash
tar xf file-5.38.tar.gz
cd file-5.38
LDFLAGS="--sysroot=$1" ./configure --prefix=$1/usr --host=$4
make -j$2
make install
cd ..
rm -rf file-5.38

